import { IDispose } from "../../core/IDispose";
type int = number;
//class GameSprite
    
    export  class GameSprite /* flash.display.Sprite */ implements IDispose
    {
        constructor()
        {
            
            this.mouseEnabled = false;
            this.mouseChildren = false;
            this.tabChildren = false;
            return;
        }

        public removeToStage(arg1: Object /* flash.display.DisplayObjectContainer */=null, arg2: Boolean=false): Boolean
        {
            if (this.parent) 
            {
                this.parent.removeChild(this);
                return true;
            }
            return false;
        }

        public addToStage(arg1: Object /* flash.display.DisplayObjectContainer */): Boolean
        {
            if (this.parent == null) 
            {
                arg1.addChild(this);
                return true;
            }
            return false;
        }

        public dispose(arg1: Boolean=true): void
        {
            this.removeToStage();
            return;
        }

        public hoverTest(): Boolean
        {
            return false;
        }

        public onMouseOver(): void
        {
            return;
        }

        public onMouseOut(): void
        {
            return;
        }

        public traceLog(arg1: string): void
        {
            return;
        }

        public /* var */isDispose: Boolean=false;

        public /* var */isHoverTest: Boolean=false;

        public /* var */index: int;
    }
